This patch provides the generic architecture fallback, which was
authorMatthias Klose <doko@debian.org>
Thu, 6 Aug 2026 11:30:12 +0000 (13:30 +0200)
committerAlexandre Detiste <tchet@debian.org>
Thu, 6 Aug 2026 11:30:12 +0000 (13:30 +0200)
Last-Update: 2023-06-17
Bug-Debian: https://bugs.debian.org/1006920
Forwarded: https://github.com/oneapi-src/oneTBB/issues/776

not merged by upstream. We just keep the patch here.

Gbp-Pq: Name 1020-arch-generic.patch

src/tbb/tools_api/ittnotify_config.h

index 7c9bcef8bc304298dc9489d4266771dd9de755f8..fbc9ff1f0dfb0230416d8d107f3530b15f417ceb 100644 (file)
 #  define ITT_ARCH_RISCV64  10
 #endif /* ITT_ARCH_RISCV64 */
 
+#ifndef ITT_ARCH_GENERIC
+#  define ITT_ARCH_GENERIC 99
+#endif /* ITT_ARCH_GENERIC */
+
 #ifndef ITT_ARCH
 #  if defined _M_IX86 || defined __i386__
 #    define ITT_ARCH ITT_ARCH_IA32
 #    define ITT_ARCH ITT_ARCH_HPPA
 #  elif defined __riscv && __riscv_xlen == 64
 #    define ITT_ARCH ITT_ARCH_RISCV64
+#  else
+#    define ITT_ARCH ITT_ARCH_GENERIC
 #  endif
 
 #endif